package com.qingmeng.outsourcing.portal;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication(scanBasePackages = "com.qingmeng.outsourcing")
//上面只是给springboot的Application类文件的同等级类中的组件进行扫描，而outsourcing-mbg模块中无Appication类
@MapperScan(basePackages = {"com.qingmeng.outsourcing.mapper","com.qingmeng.outsourcing.portal.dao"})
public class OutsourcingPortalApplication {
    public static void main(String[] args) {
        SpringApplication.run(OutsourcingPortalApplication.class,args);
    } 
}
